package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.AllocationEntity;

/**
 * 出入库调拨单Mapper接口
 * 
 * @author wutao
 * @date 2024-06-05
 */
public interface AllocationMapper extends BaseMapper<AllocationEntity> {
    /**
     * 查询出入库调拨单
     * 
     * @param id 出入库调拨单ID
     * @return 出入库调拨单
     */
    public AllocationEntity selectAllocationEntityById(String id);

    /**
     * 查询出入库调拨单列表
     * 
     * @param allocationEntity 出入库调拨单
     * @return 出入库调拨单集合
     */
    public List<AllocationEntity> selectAllocationEntityList(AllocationEntity allocationEntity);

    /**
     * 新增出入库调拨单
     * 
     * @param allocationEntity 出入库调拨单
     * @return 结果
     */
    public int insertAllocationEntity(AllocationEntity allocationEntity);

    /**
     * 修改出入库调拨单
     * 
     * @param allocationEntity 出入库调拨单
     * @return 结果
     */
    public int updateAllocationEntity(AllocationEntity allocationEntity);

    /**
     * 删除出入库调拨单
     * 
     * @param id 出入库调拨单ID
     * @return 结果
     */
    public int deleteAllocationEntityById(String id);

    /**
     * 批量删除出入库调拨单
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAllocationEntityByIds(String[] ids);
}
